import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
// import { NgbDateAdapter } from '@ng-bootstrap/ng-bootstrap';

import { DeliverApplicationSharedCommonModule } from './shared-common.module';
import { HasAnyAuthorityDirective } from './auth/has-any-authority.directive';
import { IsAuthenticatedDirective } from './auth/is-authenticated.directive';

@NgModule({
    imports: [DeliverApplicationSharedCommonModule],
    declarations: [HasAnyAuthorityDirective, IsAuthenticatedDirective],
    // providers: [{ provide: NgbDateAdapter, useClass: NgbDateMomentAdapter }],
    exports: [DeliverApplicationSharedCommonModule, HasAnyAuthorityDirective, IsAuthenticatedDirective],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class DeliverApplicationSharedModule {}
